package com.baking.model;

import com.baking.util.BaseModel;

import java.util.Date;

/**
 * @Author:wrb
 * @Date :2019/12/22/18:13
 * @Describtion:
 **/
public class User extends BaseModel {

    private Integer userId;
    private String userName;
    private String pwd;
    private Integer roleId;
    private String roleName;
    private Integer phone;

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", phone=" + phone +
                '}';
    }
}
